package com.xyrl.project.common.salesman.vo;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 *   * @className UserLoginVo
 *   * @company 星纭融链科技服务有限公司
 *   * @author 徐恩源
 *   * @version 1.0
 *   * @date 2019-12-27 14:17:34
 *   * @Description 用户登录
 *   
 */
@Data
@ApiModel(value = "登录")
public class UserLoginVo {

    @Length(min = 2, max = 11, message = "登录账号长度必须在{min}~{max}个字符之间")
    private String username;

    @Length(min = 6, max = 20, message = "登录密码长度必须在{min}~{max}个字符之间")
    private String pwd;
}
